Chapter 3 Test Questions

1) Which layer is the Application Layer found on?
A. Top*
B. Middle
C. Bottom
D. None of the above

2) NBT stands for which of the following?
A. NetBEUI over TCP/IP
B. NetBIOS over TCP/IP *
C. Netcom over TCP/IP
D. None of the above

3) Winsock acts as a connection for
A. services running on the computer
B. applications
C. clients (browsers)
D. all of the above*

7.    What command can you use to view the TCP/IP connections that you have
    with other computers?
    a.    NETVIEW
    b.    NETUSE
    c.    NETSTAR
    d.    NETSTAT    ***

8.    What command can you use to view NetBIOS of TCP/IP Connections ?
    a.    NBTSTAR
    b.    NBTSTAT    ***
    c.    NETUSE
    d.    NETVIEW

9.    ____handles the direction of NetBIOS traffic to either TCP or UDP
    a.    NBT    ***
    b.    NBNS
    c.    FTP
    d.    UTP

1.The Internet Layer has _____ main protocols.
a.2
b.4
c.8
ans.B

2._______ is a list ofthe Netbios names that have already been resolve to TCP/IP addresses.
a.Netbios Name Cache
b.Netbios Name Server
c.Broadcast
ans.A

3._________ is the LAN Manager host file that was used in LAN Manager to enable system to resolve TCP/IP addresses.
a.LM Host
b.BT Host
c.KH host
ans.A

Q1. Which Winsock port, a client opens to start sending the data?
(a) Passive open
(b) Active open
(c) Port 80
Ans. (b)

Q2. Which command enables you to view both the connections to your system and with other systems?
(a) NEt USE
(b) NETSTAT
(c) NBSTAT
Ans. (b)

Q3. What are the functions of NETBIOS?
(a) To establish only remote connection
(b) Displays and listens to ports
(c) Name Management
(d) Session Management
(e) Data transfer (Connectionless/Connection oriented)
Ans. (c,d,e)

Q4. Which is not one of the six methods of NETBIOS Name Resolution?
(a) NBTname
(b) NetBIOS name
(c) NetBIOS name cache
(d) NetBIOS name server
(e) Broadcast
(f) LMHOSTS
Ans. (a)

7.When a service registers a port number with Winsock, it performs a (n)____.
a.passive open
b.port open
c.logical open
d.active open *
e.mostly open

8. The basic NEtBIOS functions are(choose 4)
a.name management *
b.Session management *
c.connectionless data transfer *
d. connection oriented data transfer *
e. NBT management

9.Three methods used to resolve names in NetBIOS are:
a.NetBios Name resolution
b.NetBios Name Cache *
c.NetBios name interface
d.NetBios Name Server *
e.Broadcast *

Q1. Source port, Destination port, length, and checksum are the required field of ______.
a) Pseudo Header
b) TCP Header
c) UDP
Ans. (c)

Q2. Which layer functions independently of the network structure, and do not concerned with routing data through the
internetwork?
a) Application Layer
b) Transport Layer
c) Network layer
d) Network Access Layer
Ans. (b)

Q3. The main functions of TCP are______.
a) Session Management
b) Byte Stream Communications
c) Routing the data to the shortest path
d) Sliding Windows
Ans. (a,b)

Q4. The buffer that enables byte stream communications and enables TCP to guarantee the delivery of data is _____.
a) Acknowledgement buffer
b) Synchronization
c) Sliding Window **
d) Pseudo Headers

1. WHAT API IS USED BY ALL COMMUNICATION ON TCP/IP?
A. NETBIOS
B. WINSOCK
C. NONE OF THE ABOVE
D. BOTH A, BANS B P56

2. WHILE DISCUSSING WINSOCK, WHAT IS A PORT?
A. LOCATION ON BACK
B. PHSYSICAL LOCATION IN NETWORKING
C. LOGICAL CONNECTION POINT IDENTIFING WHO THE CLIEN TALKS WITH
ANS C P56

3. WHAT ALLOWS THE USE OF NETBIOS NETWORKING OVER TCP/IP?
A. WINSOCK
B. NETBIOS OVER TCP/IP
C. NONE OF THE ABOVE
ANS B. P61

1. Using the NBTSTAT command one can view all the TCP/IP connections that one
has with other computers
a) TRUE
b) FALSE *

2. When NetBIOS is used for networking, at which layer is the name resolved?
a) Winsock
b) TCP
c) NBT *
d) IP

1. Name at least Six common Services in the Application Layer with port numbers and protocols:

FTP data channel 20 TCP*
FTP control channel 21 TCP*
Telnet 23 TCP*
TFTP 69 UDP*
Echo service 7 TCP or UDP*
Gopher 70 TCP*

2. What is the command used to view connections to your computer or connections you have with another computer(s)?

NETSTAT*

5.Which components at the application layer provide service to netbios?
A.smb
B.tcp/ip
C.win sock
D.nbt

6.What are the two main API that reside at the application layer?
A.Winsock
B.ftp
C.netbios
D.TDI

A _________ is a logocal connection point and can be used by a client to identify to which service the client wants to talk
a. winsock
b. port
c. netbios
d. NBT

__________ is a LAN manager hosts file that was used in LAN Manager to enable systems to resolve TCP/IP addresses
a. DNS
b. Hostnames file
c. NSLOOKUP file
d. LMHOSTS

1) Which layer is the Application Layer found on?
A. Top*
B. Middle
C. Bottom
D. None of the above

2) NBT stands for which of the following?
A. NetBEUI over TCP/IP
B. NetBIOS over TCP/IP *
C. Netcom over TCP/IP
D. None of the above

3) Winsock acts as a connection for
A. services running on the computer
B. applications
C. clients (browsers)
D. all of the above*

1.  ______ handles direction of NetBIOS traffic to either TCP or UDP.  A
    A.  NBT
    B.  NBC
    C.  ABC
    D.  CBS

2.   What are the two APIs in the Application layer?
    A:  Winsock and NetBIOS

3.   NetBIOS is a ________ protocol.  D.
    A.  Routed
    B.  Stand-alone
    C.  NBT
    D.  Broadcast

What Internet organization is responsible for assigning standard port numbers? 
a. IAB 
b* IANA 
c. IETF 
d. Internet Society

What port numbers does NetBIOS over TCP/IP or NBT use? 
* 137 and 138 

What are the six methods used to NetBIOS to resolve names? 
* Name Cache; NBNS; Broadcast; LMHOSTS file; HOSTNAME; HOSTS file; DNS.

5. ____________ is used to support the purely TCP/IP applications.
A. NetBIOS
B. NetBEUI
C. Winsock
D. NDIS
(Answer C: Page 55)

6. Winsock uses____________ (numbered between 1 and 65,536) as the connection point for the services or clients registering with the WinSock interface
A. ports
B. sites
C. sessions
D. protocols
(Answer A: Page56)